<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<div id="user">
</div>
<div id="userId">
</div>
</body>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../plugins/artTemplate/src/template.js"></script>
<script type="text/javascript">
function getUserInfo(parameters) {
	$.ajax({
		url: "http://localhost:8080/MSC/web/user/jsonp",
		dataType: "jsonp",
		data:parameters,
		jsonp: "jsonpCallback",
		success:function(data){
			document.getElementById('user').innerHTML = data.userName;
			$("#userId").html(data.userName);
		}
	});
}
$(document).ready(function(){
	getUserInfo();
});
</script>
</html>